package com.ucode.crm.service;

import java.util.List;
import com.ucode.crm.mode.BusinessStatus;
import com.ucode.crm.mode.BusinessStatusGroup;
import com.ucode.crm.vo.BusinessStatusGroupVo;
import com.ucode.tool.base.Paginator;

public interface BusinessStatusGroupService {

    public BusinessStatusGroup insert(BusinessStatusGroupVo businessStatusGroupVo);
    
    public int update(BusinessStatusGroupVo businessStatusGroupVo);
    
    public int updateStatuz(Long id,Integer statuz);
    
    public int relatedDepts(Long id,List<Long> deptIds);
    
    public int deleteRelatedDepts(List<Long> relatedIds);
    
    public int deleteByLogic(Long id);
    
    public int delete(Long id);
    
    public BusinessStatusGroup findById(Long id);
    
    public List<BusinessStatusGroup> findByIds(List<Long> ids);
    
    public List<BusinessStatus> findBusinessStatuzs(Long groupId);
    
    public List<BusinessStatusGroup> findDeptValidBusinessStatusGroup(Long depteId);
    
    public Paginator<BusinessStatusGroup> queryPage(int pageNum, int pageSize);
    
}
